package com.hxzy.service;

import com.github.pagehelper.PageInfo;
import com.hxzy.controller.admin.employee.req.EmployeeReq;
import com.hxzy.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【employee(后台管理员表)】的数据库操作Service
* @createDate 2023-06-28 16:38:44
*/
public interface EmployeeService extends IService<Employee> , AdminLoginService{

    /**
     * 分页查询
     * @param req
     * @return
     */
    PageInfo<Employee> search(EmployeeReq req);

    /**
     * 逻辑删除
     * @param ids
     * @return
     */
    boolean delete(Long[] ids);

    List<Employee> download(EmployeeReq req);

}
